package com.hxzy.shop.common.dto.auth.req;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 功能描述: 编辑角色
 *
 * @author tonneyyy
 */
@Getter
@Setter
public class EditRoleReq {

    @ApiModelProperty("角色Id")
    private Long roleId;

    @ApiModelProperty("角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String roleDescription;

    @ApiModelProperty("状态 true启用 false 禁用")
    @NotNull(message = "状态不能为空")
    private Boolean state;

    @ApiModelProperty("所属门店id")
    private Long storeId;
}
